package domain;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author Freedy
 * @date 2020-12-24
 */
public class Permission implements Serializable {

	private static final long serialVersionUID = 4363117832613197941L;
	private Integer id;

	private String permissionName;

	private String url;

	private List<Role> roles;

  public static long getSerialVersionUID() {
    return serialVersionUID;
  }

  public List<Role> getRoles() {
    return roles;
  }

  public void setRoles(List<Role> roles) {
    this.roles = roles;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getPermissionName() {
    return permissionName;
  }

  public void setPermissionName(String permissionName) {
    this.permissionName = permissionName;
  }


  public String getUrl() {
    return url;
  }

  public void setUrl(String url) {
    this.url = url;
  }

}
